package com.ysd.ServiceImpl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ysd.entity.Permission;
import com.ysd.repository.PermissionRepository;
import com.ysd.Service.PermissionService;

@Service
public class PermissionServiceImpl implements PermissionService {

	@Autowired
	private PermissionRepository permissionRepository;
	
	@Override
	public List<Permission> findAll() {
		
		return permissionRepository.findAll();
	}
	
	

}
